public class Group {
    private double marks;
    private Student stu1;
    private Student stu2;

    public Group() {
    }

    public Group(Student stu1, Student stu2) {

        this.stu1 = stu1;
        this.stu2 = stu2;
    }

    public Group(double marks, Student stu1, Student stu2) {
        this.marks = marks;
        this.stu1 = stu1;
        this.stu2 = stu2;
    }

    public Student getStu1() {
        return stu1;
    }

    public Student getStu2() {
        return stu2;
    }


    public void setStu1(Student stu1) {
        this.stu1 = stu1;
    }

    public void setStu2(Student stu2) {
        this.stu2 = stu2;
    }

    public double getMarks() {
        return marks;
    }

    public void setMarks(double marks) {
        this.marks = marks;
    }
}
